#include"comm.h"
#include<unistd.h>
int main(){
    int shmid = ShmCreateServer();
    const char* shmpoint = (char*)ShmAttach(shmid);
    while(true){
        sleep(1);
        printf("client : %s",shmpoint);
    }
    ShmDetach((void*)shmpoint);
    ShmDelete(shmid);
    return 0;
}
